+2008-03-08 Alberto Ruiz <aruiz@gnome.org>
+
+ * modules/engines/ms-windows/msw_style.c (draw_shadow):
+ Do not draw frame if parent if combobox.
+ (draw_box):
+ Uses scrollbar width system metrics for combobox button.
+ Fixes #461805 for XP theme engine.
+
2008-03-07 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c:
FillRect (dc, &rect, GetSysColorBrush (COLOR_WINDOW));
release_window_dc (style, window, state_type);
- cx = 2 * GetSystemMetrics (SM_CXEDGE) + 16; /* TODO evaluate arrow width */
+ cx = GetSystemMetrics(SM_CXVSCROLL);
x += width - cx;
width = cx;
if (detail && !strcmp (detail, "frame"))
{
+
HDC dc;
RECT rect;
+
+ if (is_combo_box_child (widget))
+ return;
+
dc = get_window_dc (style, window, state_type, x, y, width, height, &rect);
if (is_popup_window_child (widget))